<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
    <%@ include file="/WEB-INF/views/include/head.jsp" %>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#shiPingPai").validate();
        });
    </script>
</head>
<body class="ContentBody">
<form action="${ctx}/PingPai/save" method="post" id="shiPingPai">
    <tr>
        <td height="30">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td height="62" background="${ctxStatic}/images/nav04.gif">
                        <!--  -->
                        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <div class="MainDiv">
        <table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
            <tr>
                <th class="tablestyle_title">添加品牌页面</th>
            </tr>
            <tr>
                <td class="CPanel">
            <TR>
                <TD width="100%">
                    <fieldset style="height:100%;">
                        <legend>添加品牌</legend>
                        <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                            <tr>
                                <td nowrap align="center" width="13%">品牌名:</td>
                                <td width="41%"><input id="pingPaiName" name="pingPaiName" class="text required"
                                                       type="text"/></td>
                                <td nowrap align="center" width="13%">所属用户:</td>
                                <td>
                                    <select class="required" name="userName" id="userName">
                                        <option value="" class="clear">---请选择---</option>
                                        <c:forEach items="${obj.users}" var="user">
                                            <option value="${user.name}">${user.name}</option>
                                        </c:forEach>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4" align="center"><font color="red" id="mima"></font></td>
                            </tr>
                        </table>
                        <br/>
                    </fieldset>
                </TD>
            </TR>
            </td>
            </tr>


            <TR>
                <TD colspan="2" align="center" height="50px">
                    <input type="submit" name="Submit" value="保存" class="button"/>　

                    <input type="button" name="Submit2" value="返回" class="button" onclick="window.history.go(-1);"/>
                </TD>
            </TR>
        </TABLE>
        </td>
        </tr>
        </table>
    </div>
</form>
</body>
</html>
